WPStaging\Backend\Modules\Jobs\Database B

Total Complexity 81
Dependencies 10
Dependents 1
Total lines 473
Lines of code 256
Logical lines of code 151
Comment lines 122
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
execute()
A
53 8 25
copyTable()
A
53 8 22
deleteAllTables()
S
50 7 30
startJob()
S
52 6 27
generateDto()
S
58 6 16
abortIfDirectoryNotCreated()
S
58 6 15
abortIfDirectoryNotEmpty()
S
65 6 8
addMissingTables()
S
59 5 14
initialize()
S
58 3 17
getStagingPrefix()
S
64 4 9
isExcludedTable()
S
60 2 16
isTableExist()
S
65 3 9
shouldAbortIfTableExist()
S
77 3 3
finishStep()
S
66 3 8
abortIfPrefixContainsInvalidCharacter()
S
68 2 7
isCopyProcessStarted()
S
79 2 3
abortIfStagingPrefixEqualsProdPrefix()
S
65 2 9
setJob()
S
69 2 7
abortIfExternalButNotPro()
S
69 2 7
copyData()
S
75 1 4